package com.kingyea.gradle;

import org.gradle.api.Plugin;
import org.gradle.api.Project;

import com.kingyea.gradle.task.MyTask;
import com.kingyea.gradle.task.User;

public class MyPlugin implements Plugin<Project> {

	@Override
	public void apply(Project project) {
		project.getExtensions().create("myUser", User.class, new Object[0]);
		
		project.getTasks().create("myTask", MyTask.class);
	}

}
